* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
	background-color: #f5f5f5;
	color: #333;
	line-height: 1.6;
	padding: 20px;
}

.container {
	max-width: 600px;
	margin: 0 auto;
	background: white;
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	padding-bottom: 30px;
}

header {
	background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
	color: white;
	padding: 30px 20px;
	text-align: center;
}

h1 {
	font-size: 28px;
	margin-bottom: 10px;
}

.subtitle {
	font-size: 16px;
	opacity: 0.9;
}

.tipping_content {
	padding: 25px;
}

.tipping_intro {
	text-align: center;
	margin-bottom: 30px;
	color: #666;
}

.payment-methods {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 20px;
	margin-bottom: 30px;
}

.method {
	background: white;
	border-radius: 10px;
	padding: 15px;
	width: 160px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 1px solid #eee;
}

.method:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.method.active {
	border-color: #2575fc;
	background-color: #f0f7ff;
}

.method-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #f8f8f8;
}

.method-icon img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.wechat .method-icon {
	background: #09bb07;
}
.alipay .method-icon {
	background: #1677ff;
}
.qq .method-icon {
	background: #12b7f5;
}

.method-name {
	font-weight: bold;
	margin-bottom: 5px;
}

.qr-container {
	text-align: center;
	margin-top: 20px;
	display: none;
}

.qr-container.active {
	display: block;
	animation: fadeIn 0.5s ease;
}

.qr-code {
	width: 200px;
	height: 200px;
	margin: 0 auto 15px;
	padding: 10px;
	background: white;
	border: 1px solid #eee;
	border-radius: 8px;
}

.qr-code img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hint {
	color: #888;
	font-size: 14px;
	margin-top: 10px;
}

.tipping_footer {
	text-align: center;
	margin-top: 30px;
	color: #999;
	font-size: 14px;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
	.payment-methods {
		flex-direction: column;
		align-items: center;
	}
	
	.method {
		width: 80%;
	}
}